<template>
	<view class="content">
		<u-navbar :is-back='true' title="发布帖子" :border-bottom='true' />
		<view class="carp">
			<view class="text">信息标题
			</view>
			：
			<view class="carp_1">
				<input type="text" value="" placeholder="请输入信息标题" placeholder-class='placeholderStyle' />
			</view>
		</view>
		<view class="carp">
			<view class="text">类别
			</view>：
			<view style="width:76%;">
				<xfl-select :list="
					[
						'苹果',
						{
							value: '香蕉',
							disabled: false,
							id:50
						},
						'葡萄',
						'芒果',
						'大白菜',
				]" :clearable="false" :showItemNum="5" :listShow="false" :isCanInput="false" :style_Container="styles"
					@change='inputclick' placeholder="请选择类别" :selectHideType="'hideAll'" />
				<!-- :initValue="''" -->
				<!-- <input type="text" value="" placeholder="请选择类别" placeholder-class='placeholderStyle' />
				<u-icon color="#999999" size="28" name="arrow-down" /> -->
			</view>
		</view>
		<view class="carp">
			<view class="text">行业分类
			</view>：
			<view class="carp_1">
				<input type="text" value="" placeholder="请选择行业分类" placeholder-class='placeholderStyle' />
				<u-icon color="#999999" size="28" name="arrow-down" />
			</view>
		</view>
		<view class="carp">
			<view class="text">区域
			</view>：
			<view class="carp_1">
				<input type="text" value="" placeholder="请选择区域" placeholder-class='placeholderStyle' />
				<u-icon color="#999999" size="28" name="arrow-down" />
			</view>
		</view>
		<view class="carp">
			<view class="text">商圈
			</view>：
			<view class="carp_1">
				<input type="text" value="" placeholder="请选择商圈" placeholder-class='placeholderStyle' />
				<u-icon color="#999999" size="28" name="arrow-down" />
			</view>
		</view>
		<view class="carp">
			<view class="text">面积
			</view>：
			<view class="carp_2">
				<input type="text" value="" placeholder="请输入面积" placeholder-class='placeholderStyle' />
				<text class="carp_2_t1"></text>
				<input type="text" value="" placeholder="请输入面积" placeholder-class='placeholderStyle' />
				<text class="carp_2_t2">㎡</text>
			</view>
		</view>
		<view class="carp">
			<view class="text">预算
			</view>：
			<view class="carp_2">
				<input type="text" value="" placeholder="请输入预算" placeholder-class='placeholderStyle' />
				<text class="carp_2_t1"></text>
				<input type="text" value="" placeholder="请输入预算" placeholder-class='placeholderStyle' />
				<text class="carp_2_t2">元/月</text>
			</view>
		</view>
		<view class="carp">
			<view class="text">转让费
			</view>：
			<view class="carp_1">
				<input type="text" value="" placeholder="请选择" placeholder-class='placeholderStyle' />
				<u-icon color="#999999" size="28" name="arrow-down" />
			</view>
		</view>
		<view class="carp">
			<view class="text">内容详情
			</view>：
			<view style="width: 76%;">
				<u-input v-model="value" type="textarea" :border="true" auto-height placeholder="请输入内容.." />
			</view>
		</view>
		<view class="carp">
			<view class="text">联系人
			</view>：
			<view class="carp_1">
				<input type="text" value="" placeholder="请输入联系人" placeholder-class='placeholderStyle' />
			</view>
		</view>
		<view class="carp">
			<view class="text">联系电话
			</view>：
			<view class="carp_1">
				<input type="text" value="" placeholder="请输入联系电话" placeholder-class='placeholderStyle' />
			</view>
		</view>
		<view class="foot" @click="submit">
			发表求租

		</view>
		<pay-ment ref='child' />
	</view>
</template>

<script>
	export default {
		data() {
			return {
				// list: ,
				styles: 'height: 80rpx;background: #FFFFFF;border: 1px solid #E1E1E1;border-radius: 10rpx'
			};
		},
		methods: {
			//发布
			submit() {
				this.$refs.child.sign()
			},
			inputclick(a, b) {
				console.log(a, b)
			}
		}
	}
</script>

<style lang="scss" scoped>
	.content {
		padding-bottom: 100rpx;

		.foot {
			width: 91%;
			position: fixed;
			bottom: 20rpx;
			height: 80rpx;
			background: #FF1B1B;
			border-radius: 40rpx;
			text-align: center;
			left: 50%;
			transform: translateX(-50%);
			line-height: 80rpx;
			font-size: 30rpx;
			font-family: OPPOSans;
			font-weight: 500;
			color: #FFFFFF;

		}

		/deep/ .placeholderStyle {
			font-size: 26rpx;
			font-family: OPPOSans;
			font-weight: 400;
		}

		.carp {
			display: flex;
			padding: 0rpx 25rpx 30rpx 25rpx;
			align-items: center;

			.text {
				font-size: 30rpx;
				font-family: OPPOSans;
				font-weight: 500;
				color: #333333;
				display: block;
				width: 18%;
				text-align: justify;
				text-align-last: justify;
				position: relative;
				top: 20rpx;
				
				&:after {
					content: '';
					width: 100%;
					display: inline-block;
				}
			}

			.carp_1 {
				padding: 0 20rpx 0 20rpx;
				display: flex;
				align-items: center;
				justify-content: space-between;
				width: 70%;
				height: 80rpx;
				background: #FFFFFF;
				border: 1px solid #E1E1E1;
				border-radius: 10rpx;
			}

			.carp_2 {
				width: 70%;
				display: flex;
				align-items: center;
				justify-content: space-between;

				.carp_2_t2 {
					font-size: 32rpx;
					font-family: Adobe Heiti Std;
					font-weight: normal;
					color: #999999;
				}

				.carp_2_t1 {
					width: 29rpx;
					height: 2rpx;
					background: #E1E1E1;
				}

				input {
					box-sizing: border-box;
					width: 180rpx;
					height: 80rpx;
					background: #FFFFFF;
					border: 1px solid #E1E1E1;
					padding-left: 20rpx;
					padding-right: 20rpx;
					border-radius: 10px
				}
			}
		}
	}
</style>
